package ru.study.thinkin.chapter8;

public class Shapes {
	private static RandomShapesGenerator gns = new RandomShapesGenerator(); 
	public static void main(String[] args) {
		Shape[] s = new Shape[9];
		for (int i =0;i <s.length;i++) {
		    s[i] = gns.next();
		}
		for (Shape sh:s) {
		    sh.draw();
		}		

	}
}
